package com.codedancer.campus.client.api.user.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;
import lombok.Data;

@Data
@ApiModel("用户密码登录Ro")
public class UserLoginPasswordRo {

    @ApiModelProperty("登陆账号（手机号或邮箱或昵称）")
    @NotEmpty(message = "请输入手机号或邮箱或昵称")
    private String loginAccount;

    @ApiModelProperty("登录密码")
    @NotEmpty(message = "请输入登录密码")
    private String password;
}
